package com.tong.hao.common.baomidou.ac.entity;

import java.math.BigDecimal;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 账单记录表
 * </p>
 *
 * @author 彤彤
 * @since 2020-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AcBill implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 内部主键
     */
    @TableId("inner_key")
    private String innerKey;

    /**
     * 用户编号(取值为ac_user.inner_num)
     */
    @TableField("user_key")
    private String userKey;

    /**
     * 账单日期
     */
    @TableField("ac_date")
    private LocalDate acDate;

    /**
     * 账单一级类型(参见ac_class的first_bill)
     */
    @TableField("ac_first_class")
    private String acFirstClass;

    /**
     * 账单二级类型(参见ac_class的second_bill)
     */
    @TableField("ac_second_class")
    private String acSecondClass;

    /**
     * 账单金额(最小单位是分)
     */
    @TableField("ac_amount")
    private BigDecimal acAmount;


}
